package com.ecfront.pojo;

import java.util.Set;

/**
 * 品牌列表
 * 
 * @version 1.0
 * @author zhufeng
 */
public class GoodsBrand {

	private int id;// 品牌ID
	private String name;// 品牌名称
	// 此处是多对多关联
	private Set goodsSort;// 品牌类别对应的商品列表
	// 此处是一对多关联
	private Set goods;// 商品的集合

	public GoodsBrand() {}
	public GoodsBrand(Integer id) {
		this.id = id;
	}
	public GoodsBrand(Integer id, String name, Set goodsSort, Set goods) {
		this.id = id;
		this.name = name;
		this.goodsSort = goodsSort;
		this.goods = goods;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getGoodsSort() {
		return goodsSort;
	}

	public void setGoodsSort(Set goodsSort) {
		this.goodsSort = goodsSort;
	}

	public Set getGoods() {
		return goods;
	}

	public void setGoods(Set goods) {
		this.goods = goods;
	}
}
